Optimal. Leaf size=80 \[ -\frac {4 x}{9 a^2}+\frac {2 x^3}{27}+\frac {4 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a^3}-\frac {2 x^2 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \sinh ^{-1}(a x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5776, 5812,
5798, 8, 30} \begin {gather*} -\frac {2 x^2 \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)}{9 a}-\frac {4 x}{9 a^2}+\frac {4 \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)}{9 a^3}+\frac {1}{3} x^3 \sinh ^{-1}(a x)^2+\frac {2 x^3}{27} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 5776
Rule 5798
Rule 5812
Rubi steps
\begin {align*} \int x^2 \sinh ^{-1}(a x)^2 \, dx &=\frac {1}{3} x^3 \sinh ^{-1}(a x)^2-\frac {1}{3} (2 a) \int \frac {x^3 \sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx\\ &=-\frac {2 x^2 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \sinh ^{-1}(a x)^2+\frac {2 \int x^2 \, dx}{9}+\frac {4 \int \frac {x \sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{9 a}\\ &=\frac {2 x^3}{27}+\frac {4 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a^3}-\frac {2 x^2 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \sinh ^{-1}(a x)^2-\frac {4 \int 1 \, dx}{9 a^2}\\ &=-\frac {4 x}{9 a^2}+\frac {2 x^3}{27}+\frac {4 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a^3}-\frac {2 x^2 \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{9 a}+\frac {1}{3} x^3 \sinh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 59, normalized size = 0.74 \begin {gather*} \frac {1}{27} \left (2 x \left (-\frac {6}{a^2}+x^2\right )-\frac {6 \left (-2+a^2 x^2\right ) \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{a^3}+9 x^3 \sinh ^{-1}(a x)^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int x^{2} \arcsinh \left (a x \right )^{2}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 70, normalized size = 0.88 \begin {gather*} \frac {1}{3} \, x^{3} \operatorname {arsinh}\left (a x\right )^{2} - \frac {2}{9} \, a {\left (\frac {\sqrt {a^{2} x^{2} + 1} x^{2}}{a^{2}} - \frac {2 \, \sqrt {a^{2} x^{2} + 1}}{a^{4}}\right )} \operatorname {arsinh}\left (a x\right ) + \frac {2 \, {\left (a^{2} x^{3} - 6 \, x\right )}}{27 \, a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 82, normalized size = 1.02 \begin {gather*} \frac {9 \, a^{3} x^{3} \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right )^{2} + 2 \, a^{3} x^{3} - 6 \, \sqrt {a^{2} x^{2} + 1} {\left (a^{2} x^{2} - 2\right )} \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right ) - 12 \, a x}{27 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.19, size = 76, normalized size = 0.95 \begin {gather*} \begin {cases} \frac {x^{3} \operatorname {asinh}^{2}{\left (a x \right )}}{3} + \frac {2 x^{3}}{27} - \frac {2 x^{2} \sqrt {a^{2} x^{2} + 1} \operatorname {asinh}{\left (a x \right )}}{9 a} - \frac {4 x}{9 a^{2}} + \frac {4 \sqrt {a^{2} x^{2} + 1} \operatorname {asinh}{\left (a x \right )}}{9 a^{3}} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\mathrm {asinh}\left (a\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________